<?
require "include/bittorrent.php";
dbconn(false);
loggedinorreturn();

stdhead("Smilies");

begin_main_frame();
begin_frame("Smilies", true);
begin_table();

print("<tr><td class=colhead>Type...</td><td class=colhead>To make a...</td></tr>\n");
while (list($code, $url) = each($smilies))
print("<tr><td>$code</td><td><img src=$SITEURL/pic/smilies/$url></td></tr>\n");

if (get_user_class() >= UC_MODERATOR)
{
	while (list($code, $url) = each($privatesmilies))
	print("<tr><td>$code</td><td><img src=$SITEURL/pic/smilies/$url></td></tr>\n");
}

end_table();
end_frame();
end_main_frame();

stdfoot();
?>